<link  rel="stylesheet" type="text/css"  href="<?php echo Yii::app()->baseUrl?>/css/bid_pack_payment.css"   />
<style>
.errorMessage{
	color: #FF0000;
    font-size: 12px;
    margin-left: 385px;
    width: 200px;
}
.submit-btn{
	margin: 0 0 0 250px;
}
</style>
<?php 
$baseUrl = Yii::app()->baseUrl;
$bidtypearray = $buyBidPackInfo['bidtypearray'];
$biddirectly = $buyBidPackInfo['biddirectly'];
$bidfee = $buyBidPackInfo['bidfee'];
?>
<div class="green-sign-box">
	<div class="list_remi ">
	<div class="hdrs_cont">
		<h1 class="prel_lite">PAYMENT BID PACK</h1>
	</div>
	</div>
    <div class="box-content">
            <?php 
                $paymentErrorMsg=Yii::app()->user->getFlash('payment failed');
                if ($paymentErrorMsg){
            ?>
                <div class="alert alert-danger" role="alert">
                    <?php echo $paymentErrorMsg ;?>
                </div>
            <?php }?>
        
    	<div class="bid-pack-box">
			<div class="bid-pack small">
        		<div class="bidtype">
					<?php echo $bidtypearray[$bidPackId]->title;?>
				</div>
				<div class="img">
					<img src="<?php echo $url?$url:Yii::app()->resource->path('img') . '/no-image.png'?>" alt="" onclick="getbidpackid(<?php echo $bidPackId;?>)" style="cursor:pointer;" width="200" height="300"/>
				</div>
 
            </div>
            <p class="summary-text">You pay: $<?php echo $biddirectly[$bidPackId]->fee_value?><br/>
You receive: <?php echo round($bidfee[$bidPackId]->fee_value)?> bids</p>
			<a class="back-link" href="<?php echo $baseUrl ?>/buybid">&lt;&lt; Back to bidpack selection</a>
        </div>
         <?php
			$this->renderPartial('/buybid/_billinginfo',array(
					'model'=>$model,
					'baseUrl'=>$baseUrl,
					'bidPackId'=>$bidPackId,
			)); 
		?>
        
    </div>
    <div class="clear"></div>
  </div>